package com.yeyks.other.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shuai
 * @date 2019/12/25 13:06
 */
@Data
public class CarouselUpdateParam implements Serializable {

    private static final long serialVersionUID = -8810134797826103264L;

    @ApiModelProperty(value = "轮播图id")
    @NotNull(message = "id不能为空")
    private Integer id;

    @ApiModelProperty(value = "图片地址")
    private String image;

    @ApiModelProperty(value = "跳转链接")
    private String url;
}
